﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="NewPost.ascx.cs" Inherits="Skecthial.UI.Controls.NewPost" %>
<div id="postContetWrapper" class="pbox" style="display: block; width: 98%;">
    <div id="postContent" style="width: 100%;">
        <%--<div id="posterImage" style="width: 100px; height: 120px; float: left;">
                <img alt="Poster Profile" id="UserImage" runat="server" width="80" height="100" src='<%# Eval("userImage") %>' />
            </div>--%>
        <div style="width: 98%; margin-right: auto; margin-left: auto; margin: 0 auto;">
            <table style="width: 100%; text-align: center;" align="center">
                <tr>
                    <td style="width: 150px;">
                        <span align="center">
                            <h3 style="font: bold 12px monospace; color: #CCC;">
                                WHO</h3>
                        </span>
                    </td>
                    <td style="width: 150px;">
                        <span align="center">
                            <h3 style="font: bold 12px monospace; color: #CCC;">
                                WHEN</h3>
                        </span>
                    </td>
                    <td style="width: 150px;">
                        <span align="center">
                            <h3 style="font: bold 12px monospace; color: #CCC;">
                                WHAT</h3>
                        </span>
                    </td>
                    <td style="width: 150px;">
                        <span align="center">
                            <h3 style="font: bold 12px monospace; color: #CCC;">
                                WHERE</h3>
                        </span>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Literal ID="User" runat="server" />
                    </td>
                    <td>
                        <asp:Literal ID="when" runat="server" />
                    </td>
                    <td>
                        <asp:Literal ID="what" runat="server" />
                    </td>
                    <td>
                        <asp:Literal ID="where" runat="server" />
                    </td>
                </tr>
            </table>
        </div>
        <hr />
        <span align="center">
            <h3 style="font: bold 12px monospace; color: #CCC;">
                WITH</h3>
        </span>
        <div align="center" style="width: 98%; display: block; margin-left: auto; margin-right: auto;
            margin: 0 auto;">
            <ul class="navlist">
                <asp:Repeater ID="rptWith" runat="server">
                    <HeaderTemplate>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <li><a class="personPopupTrigger" href="#" onclick="javascript:return false;" rel="<%# Eval("id") %>"
                            type="<%# Eval("type") %>" name="<%# Eval("fullname") %>">
                            <img src="../Objects/<%# Eval("type") %>/<%# Eval("fullname") %>" width="40" height="40" /></a></li>
                    </ItemTemplate>
                    <FooterTemplate>
                    </FooterTemplate>
                </asp:Repeater>
            </ul>
        </div>
        <div style="width: 98%; margin-right: auto; margin-left: auto; margin: 0 auto;">
        </div>
    </div>
    <%-- <div style="margin-top: 25px; width: 100%; text-align: right;">
                posted by <i>
                    <asp:Label ID="UserName" runat="server" Text='<%# Eval("User") %>'></asp:Label>
                </i>
            </div>--%>
</div>
